package battlebarnserver.util; 

import java.io.File;

/**
 *
 * @author johncreecy
 */
public class Constants {
	public static final int PIXELS_PER_TILE = 64;
	public static final int TILE_MIN_X = 0;
	public static final int TILE_MAX_X = 7;
	public static final int TILE_MIN_Y = 0;
	public static final int TILE_MAX_Y = 7;
	public static final int PIXEL_MIN_X = TILE_MIN_X;
	public static final int PIXEL_MIN_Y = TILE_MIN_Y;
	public static final int PIXEL_MAX_X = (TILE_MAX_X+1) * PIXELS_PER_TILE;
	public static final int PIXEL_MAX_Y = (TILE_MAX_Y+1) * PIXELS_PER_TILE;
	public static final int STARTING_PLAYER_HEALTH = 100;
	public static final int STARTING_CRITTER_HEALTH = 50;
	public static final int MIN_PLAYER_HEALTH = 0;
	public static final int PROJECTILE_DAMAGE = 25;
	public static final int GAME_BOARD_INANIMTES = 8;
	public static final int SERVER_CYCLE_MILLISECONDS = 200;
	public static final int AI_ENEMIES = 10;
	public static final int PROJECTILE_TRAVEL_TILES_PER_CYCLE = 1; 
	public static final int CLIENT_FRAME_RATE_MILLISECONDS = 50; 
	public static final int CLIENT_SHOT_THROTTLE_MILLISECONDS = 1500;
	public static final int CLIENT_MOVE_THROTTLE_MILLISECONDS = 100;
	public static final int CLIENT_PROJECTILE_TRAVEL_SLOP_VALUE_SECONDS = 13;
	public static final int CLIENT_PROJECTILE_TRAVEL_PER_FRAME = ((PIXELS_PER_TILE) / (SERVER_CYCLE_MILLISECONDS/CLIENT_FRAME_RATE_MILLISECONDS))+CLIENT_PROJECTILE_TRAVEL_SLOP_VALUE_SECONDS;
	public static final String CLIENT_LOOP_BACK_ADDRESS = "127.0.0.1";
	
	// Layout config
	public static final int CLIENT_LABEL_YAXIS_OFFSET = 5;
	public static final int CLIENT_HEALTH_BAR_HEIGHT = 10;
	public static final int CLIENT_HEALTH_BAR_LENGTH = 50;
	public static final int CLIENT_SHOT_COOLDOWN_BAR_HEIGHT = 10;
	public static final int CLIENT_SHOT_COOLDOWN_BAR_LENGTH = 50;
	public static final int CLIENT_SHOT_COOLDOWN_OFFSET_Y = 30;
}
